package com.zjh.springsecurity08password.mapper;


import com.zjh.springsecurity08password.pojo.Role;
import com.zjh.springsecurity08password.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {


     User getUserByName(String username) ;
     List<Role> getRolesByUid(Integer id) ;
}
